home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / alpha / modules / resources / filesysres.m < prev    next >
Encoding:
Text File  |  2002-10-28  |  1.1 KB  |  26 lines

  1. MODULE 'exec/nodes'
  2. MODULE 'exec/lists'
  3. MODULE 'dos/dos'
  4.  
  5. #define FSRNAME 'FileSystem.resource'
  6.  
  7. OBJECT FileSysResource
  8.  Node:Node,               /* on resource list */
  9.  Creator:PTR TO UBYTE,    /* name of creator of this resource */
  10.  FileSysEntries:List      /* list of FileSysEntry structs */
  11.  
  12. OBJECT FileSysEntry
  13.  Node:Node,           /* on fsr_FileSysEntries list */
  14.  DosType:ULONG,       /* DosType of this FileSys */
  15.  Version:ULONG,       /* Version of this FileSys */
  16.  PatchFlags:ULONG,    /* bits set for those of the following that */
  17.  Type:ULONG,          /* device node type: zero */
  18.  Task:CPTR,            /* standard dos "task" field */
  19.  Lock:BPTR,            /* not used for devices: zero */
  20.  Handler:PTR TO CHAR,        /* filename to loadseg (if SegList is null) */
  21.  StackSize:ULONG,     /* stacksize to use when starting task */
  22.  Priority:LONG,       /* task priority when starting task */
  23.  Startup:BPTR,         /* startup msg: FileSysStartupMsg for disks */
  24.  SegList:BPTR,         /* code to run to start new task */
  25.  GlobalVec:BPTR        /* BCPL global vector when starting task */
  26.